package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 聊天信息对象 teaching_information
 * 
 * @author ruoyi
 * @date 2022-03-21
 */
public class TeachingInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信息编号 */
    private Long informationId;

    /** 1 学生 2老师 */
    @Excel(name = "1 学生 2老师")
    private Long typeCode;

    /** 发言人 */
    @Excel(name = "发言人")
    private Long typeId;

    /** 内容 */
    @Excel(name = "内容")
    private String information;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String memo;

    /** 删除标识 */
    @Excel(name = "删除标识")
    private Long deleteSign;

    public void setInformationId(Long informationId) 
    {
        this.informationId = informationId;
    }

    public Long getInformationId() 
    {
        return informationId;
    }
    public void setTypeCode(Long typeCode) 
    {
        this.typeCode = typeCode;
    }

    public Long getTypeCode() 
    {
        return typeCode;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setInformation(String information) 
    {
        this.information = information;
    }

    public String getInformation() 
    {
        return information;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setDeleteSign(Long deleteSign) 
    {
        this.deleteSign = deleteSign;
    }

    public Long getDeleteSign() 
    {
        return deleteSign;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("informationId", getInformationId())
            .append("typeCode", getTypeCode())
            .append("typeId", getTypeId())
            .append("information", getInformation())
            .append("memo", getMemo())
            .append("deleteSign", getDeleteSign())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
